similarity

open override fun similarity(s1: String, s2: String): Double(source)

Computes the similarity of two strings. The similarity will be normalized using the number of operations that are performed.

Return

The normalized similarity.

Parameters

s1

The first string.

s2

The second string.

See also